package com.sendi.system.service;

import java.util.List;

import com.sendi.system.dao.CommonDaoHibernate;

 
public interface Service {
	public boolean exists(Object obj);
	public Object save(Object obj);
	public Object update(Object obj);
	public Object delete(Object obj);
	public Object get(Long id);
	public List findByHql(String hql,Object[] values);
	public List findByProperty(String propertyName,Object value);
	 
	public Object getUnique(Long id);
	public Object getUnique(String propertyName,Object value);
  	public CommonDaoHibernate getDao();
  	public List findByHQL(String hql);
}
